//
//  CanvasControl.m
//  iCodeMac
//
//  Created by Andrew Barry on 29/03/09.
//  Copyright 2009 Barry Computer Services. All rights reserved.
//

#import "CanvasControl.h"
#import "EditorCanvasView.h"

@implementation CanvasControl
-(NSArray *) getEvents {
	return [NSArray arrayWithObjects:@"Paint", @"MouseDown", @"MouseDrag", @"MouseUp", nil];
}

-(NSView *) load: (NSDictionary *) defn withFrame: (NSRect) frame {
	EditorCanvasView *vw = [[EditorCanvasView alloc] initWithFrame:frame];
	return vw;
}
@end
